//
//  main.m
//  分类
//
//  Created by hyl on 16/4/27.
//  Copyright © 2016年 hyl. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Person.h"
#import "Person+sport.h"

int main(int argc, const char * argv[]) {
    Person *p=[[Person alloc]init];
    [p say];
    [p basketball];
    p.age=12;
    
    NSLog(@"%i",p.age);
    [p setAge:22];
    NSLog(@"%i",p.age);
    NSLog(@"%i",[p age]);
    
    
    
//    NSLog(@"%i",p.height);
    return 0;
}
